package com.edouardbataille.open.handler
{
	
	import com.edouardbataille.open.MySqlSocket;
	
	import flash.events.IEventDispatcher;
	
	import __AS3__.vec.Vector;
	
	import com.edouardbataille.open.bytes.ByteReader;
	
	[Event (name="result", type="mx.rpc.events.ResultEvent")]
	[Event (name="fault", type="mx.rpc.events.FaultEvent")]
	public interface IHandler extends IEventDispatcher
	{
		function handleData (packets:Vector.<ByteReader>, con : MySqlSocket) : void;
	}
}